package p2shapesv2test;

import p2shapesv2.Circle;
import p2shapesv2.Rectangle;
import p2shapesv2.Shape;
import p2shapesv2.Square;

public class UseShapes2 {

	public static void main(String[] args) {
		Shape s = new Shape();
		System.out.println(" Shape s has: " + s);
		Shape c = new Circle();
		System.out.println(" Circle c has: " + c);

		Shape r = new Rectangle( 10, 20 );
		System.out.println(" Rectangle r has: " + r);
		Rectangle sq = new Square( 100 );
		System.out.println(" Square sq has: " + sq);
	}

}
